package restless.core.audio {
	
	import restless.core.gameObjs.RLEManagedObj;
	
	/**
	 * 
	 * @author Jordan Laine
	 * 
	 */
	
	public class RLEMusicTrack extends RLEManagedObj {
		
		private var BPM:int;
		private var nTrackLines:int;
		private var nProgress:int;
		private var bRepeate:Boolean;
		private var music:RLEMusic;
		private var vTrack:Vector.<Vector.<String>>;
		private var vTrackProgress:Vector.<Vector.<Number>>;
		private var vLineIDs:Vector.<String>;
		
		public function RLEMusicTrack() {
			super();
			vTrack = new Vector.<Vector.<String>>;
			vTrackProgress = new Vector.<Vector.<Number>>;
			music = soundM.music;
		}
		
		public function addLineToTrack(lineID:String, line:Vector.<String>):void {
			
		}
		
		public function playLine():void {
			
		}
		
		public function stopLine():void {
			
		}
		
		public function numberOfClipsInLine(id:String):int {
			tempString = id;
			i = vLineIDs.indexOf(tempString);
			return vTrack[i].length;
		}
		
		public function jumpToPositionInLine(lineID:String, num:int):void {
			tempString = lineID;
			i = vLineIDs.indexOf(tempString);
			
		}
		
		
		
		public function advanceToNextClipInLine(id:String):void {
			tempString = id;
			i = vLineIDs.indexOf(tempString);
		}
		
		
	}

}